<?php require 'common.php'; ?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Test</title>
</head>
<body>
    <?php
		$user = User::getByUsername($_GET['cn']);
	?>

	<h2>Hello, <?php echo htmlentities($user->cn); ?></h2>

	<p>
	  Your email is <?php echo htmlentities($user->mail); ?> and your id is <?php echo $user->studentid; ?>.
	</p>
		
</body>
</html>